package cn.common.mybatis;

public class DefaultTranslator implements Translator {

	@Override
	public String nextvalSql(String seqName) {
		return "";
	}

	@Override
	public String nextval(String seqName) {
		return "";
	}

	@Override
	public String concat(String... str) {
		if(str==null||str.length==0)
			return "";
		StringBuilder sb=new StringBuilder();
		for(String temp:str)
			sb.append(temp);
		return sb.toString();
	}

	@Override
	public String nextvalN(String seqName, String n) {
		return "";
	}

	@Override
	public String limit(String count, boolean hasCriteria) {
		return "";
	}

	@Override
	public String strToDate(String dateStr, String format) {
		return dateStr;
	}

	@Override
	public String keywordEscape(String keyword) {
		return keyword;
	}

	@Override
	public String sysdate() 
	{
		return "";
	}

	@Override
	public String batchBegin() 
	{
		return "";
	}

	@Override
	public String batchEnd()
	{
		return "";
	}

}
